package com.cqw.commontest.springlifecycle;

import org.springframework.beans.factory.BeanNameAware;
import org.springframework.stereotype.Component;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-11-01 15:32
 * @Description:
 */
@Component
public class LifeCycle1 implements BeanNameAware {


    @Override
    public void setBeanName(String s) {
        System.out.println("============Bean的id是:" + s);
    }
}
